package com.banyuan.HomeWork.classrelated.one;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        AClass a = new AClass(100);
        Scanner s = new Scanner(System.in);
        boolean flag = true;
        while (flag) {
            System.out.println("请输入一个值：");
            int i = s.nextInt();
            Guess g = new Guess();
            flag = g.guess(a, i);
        }
    }
}
